package com.zsrt.java.day20161223.xww.demo10;

import org.junit.Test;

public class Table01 {

	/**
	 * do while打印的九九乘法表
	 */
	@Test
	public void test11(){
		int a=1;
		do{
			int b=1;
			do{
				System.out.print(a+"*"+b+"="+a*b);
				System.out.print("\t");
				b++;
			}while(b<=a);
			System.out.println();
			a++;
		}while(a<=9);
	}
	
}
